<!DOCTYPE html>
<html lang="en" >
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../js/angular.js"></script>
</head>
<body ng-app = "app">

<div  ng-controller="uc">
    <!--controller 将控制该标签下的所有的元素-->
    <input type="text" ng-model="name" >
    <!--model 是数据绑定的双向变化-->
    <div>{{name}}</div>
    {{"hello"}}
</div>
<script type="text/javascript">
    var app = angular.module("app",[]);
    app.controller("uc",function ($scope) {
        $scope.name = "";
    })


</script>
</body>
</html>